package com.shire.shire_interface.dao.accounts;

import com.shire.shire_interface.model.account.WxStation;
import com.shire.shire_interface.model.account.WxStationExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxStationDao {
    long countByExample(WxStationExample example);

    int deleteByExample(WxStationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxStation record);

    int insertSelective(WxStation record);

    List<WxStation> selectByExampleWithBLOBs(WxStationExample example);

    List<WxStation> selectByExample(WxStationExample example);

    WxStation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxStation record, @Param("example") WxStationExample example);

    int updateByExampleWithBLOBs(@Param("record") WxStation record, @Param("example") WxStationExample example);

    int updateByExample(@Param("record") WxStation record, @Param("example") WxStationExample example);

    int updateByPrimaryKeySelective(WxStation record);

    int updateByPrimaryKeyWithBLOBs(WxStation record);

    int updateByPrimaryKey(WxStation record);
}